package com.atqinke.designpattern.structuraltype.adapter.classadapter;

/**
 * @BelongsProject: BasicConnection
 * @BelongsPackage: com.atqinke.DesignPattern.structuraltype.adapter.classadapter
 * @Author: NieHk
 * @CreateTime: 2022-08-26  16:22
 * @Description: TF卡实现类
 * @Version: 1.0
 */
public class TFCardImpl implements TFCard{

    @Override
    public String readTF() {
        String msg ="tf card read msg : hello word tf card";
        return msg;
    }
    @Override
    public void writeTF(String msg) {
        System.out.println("tf card write a msg : " + msg);
    }
}
